using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter19
{
	/// <summary>
	/// Example01: Converting Temperature
	/// On a day when the temperature reaches 50 F, what is the 
	/// temperature in Celsius and in Kelvins?
	/// T_C = 10 C, T = 285.15 K
	/// </summary>
	public class Example01
	{
		public Example01()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Temperature t = new L.Temperature();
			t.F = 50.0;
			t.FindCelsiusFromFahrenheit();
			t.FindAbsoluteFromCelsius();
			result+=Convert.ToString(t.C)+"      "
				+Convert.ToString(t.K);		
		}
	}
}
